<extend name="Layout/index" />

<block name="breadcrumb-01">
	<li class="active">分类管理</li>
</block>

<block name="breadcrumb-02">
	<h1>
		书籍分类管理
		<small>
			<i class="icon-double-angle-right"></i>
			一级分类添加
		</small>
	</h1>
</block>

<block name='main'>

	<form action="<{:U('Type/doadd')}>" method="post" class='col-md-4'>
		
		<div class="form-group" style="">
			<label for="" class="col-sm-12 control-label">添加分类名称：</label>
			<div class="col-sm-12">
				<input type="text" name="name" class="form-control" placeholder="添加分类名称">
			</div>

			<span class="input-group-btn">
			  	<button class="btn btn-default btn-sm">添加</button>
			  </span>
		</div>
		
		</div>
		 <input type="hidden" name="pid" value="<present name="Think.get.pid"><{$Think.get.pid}><else />0</present>">

	</form>
	</block>
